package com.rickpan.dto.response;

import java.util.List;

/**
 * 文件夹路径响应DTO
 *
 * @author RickPan Team
 * @since 2025-07-02
 */
public class FolderPathResponse {

    private String path;
    private List<BreadcrumbItem> breadcrumbs;

    /**
     * 面包屑项
     */
    public static class BreadcrumbItem {

        private Long id;
        private String name;

        public BreadcrumbItem(Long id, String name) {
            this.id = id;
            this.name = name;
        }

        public BreadcrumbItem() {
        }

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    /**
     * 构造方法
     */
    public FolderPathResponse(String path, List<BreadcrumbItem> breadcrumbs) {
        this.path = path;
        this.breadcrumbs = breadcrumbs;
    }

    /**
     * 默认构造方法
     */
    public FolderPathResponse() {
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<BreadcrumbItem> getBreadcrumbs() {
        return breadcrumbs;
    }

    public void setBreadcrumbs(List<BreadcrumbItem> breadcrumbs) {
        this.breadcrumbs = breadcrumbs;
    }
}
